//
//  ManagerUtil.h
//  Venue_reservation
//
//  Created by 蔡舟 on 15/10/15.
//  Copyright (c) 2015年 com.zkingsoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "User.h"

static bool needRefresh = NO;

@interface ManagerUtil : NSObject

//设置登陆用户
+(void)setLoginUser:(User *)user;

//获取登陆用户
+(User *)getLoginUser;

//删除登陆用户
+(void)deleteLoginUser;

#pragma mark 判断是否需要刷新视图
+(BOOL)isNeedRefreshViewController;

#pragma mark 开启视图刷新
+(void)needRefreshViewController;

#pragma mark 关闭视图刷新
+(void)noNeedRefreshViewController;

#pragma mark 保存经纬度
//+(void)saveJWdu:(float)jingdu andWeidu:(float)weidu;

+(BOOL)isLogin;

+(void)gotoLoginViewController:(id)sender targetIndex:(NSInteger)index;


@end
